<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<style>
.form-item {
	margin: 20px 10px;
}

.form-item>label {
	letter-spacing: 3px;
	width: 110px;
	text-align: right;
	display: inline-block;
}


.form-item>label:AFTER {
	content: ":";
}

.form-item input[type=text] {
	width: 100px; 
}

.form-item.required>label:BEFORE {
	content: "*";
	color: red;
}
</style>
<form id="userForm" style="margin-top: 15px;">
	<input type="hidden" name="userId" value="${users.userId }">
	<h3 style="text-align: center;">添加用户</h3>
	<div class="form-item required" style="margin-left: 70px;">
		<label for="">用户账号</label> <input value="${users.userAccount }"
			type="text" data-options="required:true" class="easyui-textbox"
			name="userAccount">

	</div>
	<div class="form-item required" style="margin-left: 70px;">
		<label for="">用户密码</label> <input value="${users.userPass}"
			type="text" data-options="required:true" class="easyui-textbox"
			name="userPass">

	</div>
	<div class="form-item required" style="margin-left: 70px;">
		<label for="">用户身份</label> <select class="easyui-combobox"
			name="roleName"
			data-options="multiple:false,panelHeight:'atuo',editable:false,"
			style="width: 100px;">
			<c:forEach items="${role}" var="role">
				<option value="${role.role_id}">${role.role_name}</option>
			</c:forEach>
		</select>
	</div>

</form>